package com.nowcoder.community.dao;

import org.springframework.stereotype.Repository;

/**
 * @author szq
 * @create 2023-01-18 13:31
 * @description Spring入门案例
 */
@Repository("alphaHibernate")   // 括号内容记为bean的name
public class AlphaDaoHibernateImpl implements AlphaDao{
    @Override
    public String select() {
        return "Hibernate";
    }
}
